"""
Toq sonlarni topish
"""

a = (10000)
b = [2]
for i in range(3, a+1,2):
    d = 2
    while i % d > 0:
        d += 1
        if d == i:
            b += [i]
print(b)
